package com.tongji.diy.event
{
	import flash.events.Event;
	import flash.geom.Point;
	import flash.geom.Vector3D;
	
	public class FurnitureFinalStateEvent extends Event
	{
		public static const FINAL_POSITION:String = "finalPosition";
		public var finalPosition:Vector3D;
		public var finalAngle:Number;
		public var parentIndex:uint;
		public function FurnitureFinalStateEvent(type:String,position:Vector3D,angle:Number, parentIndex:uint,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.finalPosition = position;
			this.finalAngle = angle;
			this.parentIndex = parentIndex;
		}
		override public function clone():Event
		{
			return new FurnitureFinalStateEvent(type,finalPosition,finalAngle,parentIndex);
		}
	}
}